import './assets/main.scss'
import 'vant/lib/index.css';
import { createApp } from 'vue'
//import { Button, Form, Field, CellGroup, Notify, TabbarItem, Tabbar, Swipe, SwipeItem, Grid, GridItem, Tab, Tabs, Card, Search } from 'vant'
import Vant from "vant";
import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-persistedstate-plugin'
import router from './router'
import App from './App.vue'
import { Uploader } from 'vant';
const persist = createPersistedState()
const pinia = createPinia()
const app = createApp(App)
app.use(router)
// app.use(Button)
// app.use(Form);
// app.use(Field);
// app.use(CellGroup);
// app.use(Notify);
// app.use(Tabbar);
// app.use(TabbarItem);
pinia.use(persist)
app.use(pinia)
// app.use(Swipe);
// app.use(SwipeItem);
// app.use(Grid);
// app.use(GridItem);
// app.use(Tab);
// app.use(Tabs);
// app.use(Card);
// app.use(Search);
app.use(Vant)
app.use(Uploader);
app.mount('#app')